package com.situ.science.mapper;

import com.situ.science.pojo.Contest;
import com.situ.science.pojo.charts.ContestNum;
import com.situ.science.pojo.query.ContestQuery;

import java.util.List;

public interface ContestMapper {

    List<Contest> list();

    List<Contest> selectByPage(ContestQuery contestQuery);

    void add(Contest contest);

    List<ContestNum> contestNum();

    Contest getById(Integer id);
}
